import './assets/main.css'

import { createApp } from 'vue'
// 引入element plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
// 引入组件
import GlobalComDemo from "./components/GlobalComDemo.vue";

// 引入实例化的路由
import router from './router';

// 引入实例化的Vuex对象
import store from './store'


const app = createApp(App)

// 注册全局组件
app.component(GlobalComDemo.name, GlobalComDemo)

// // 使用element plus
app.use(ElementPlus)

// 使用路由
app.use(router)

// 注册Vuex
app.use(store)


app.mount('#app')
